package model.assets
{
	[Bindable]
	public class AssetsModel
	{
		public function AssetsModel()
		{
		}
		
		
		[Embed(source="assets/images/Buttonclose.png")]
		public static var BtnCloseClass : Class ;
		
		[Embed(source="assets/icons/cancel.png")]
		public static var BtnCancel : Class ;
		
		[Embed(source="assets/icons/save.png")]
		public static var BtnSaveClass : Class ;
		
		[Embed(source="assets/icons/min/del.png")]
		public static var IconDelClass : Class ;
		
		[Embed(source="assets/icons/exclamation.png")]
		public static var IconWarningClass : Class ;
	
		[Embed(source="assets/icons/info.png")]
		public static var IconInfoClass : Class ;
		
		[Embed(source="assets/icons/cancel.png")]
		public static var IconCancelClass : Class ;
		
		[Embed(source='assets/assets.swf', symbol='manIcon')]
		public static var manIcon:Class;
		
		[Embed(source='assets/assets.swf', symbol='carIcon')]
		public static var carIcon:Class;
		
		[Embed(source='assets/assets.swf', symbol='dogIcon')]
		public static var dogIcon:Class;
		
		[Embed(source='assets/assets.swf', symbol='homeIcon')]
		public static var homeIcon:Class;
		
		[Embed(source="assets/icons/marker/60_60.png")]
		public static var IconMarker:Class;
		
		public static function getIconByData(data:Object):Class
		{
			var str:Class = manIcon;
			switch(int(data.display_id))
			{
				case 1:
					str = carIcon;
					break;
				case 2:
					str = manIcon;
					break;
				case 3:
					str = dogIcon;
					break;
				case 4:
					str = homeIcon;
					break;
			} 
			return str;
		}
		
	}
}